//
//  CUseHttpTool.h
//  FaceTo
//
//  Created by chijia on 2017/7/15.
//  Copyright © 2017年 chengbangming. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ShopModel.h"
#import "SysModel.h"
#import "loginModel.h"
#import "SysModel.h"




@interface CUseHttpTool : NSObject
/** 商家列表请求 */
+ (void)getShopListSuccess:(void (^) (ShopModel * model))success failure:(void(^)(NSError * error))failure;
/** 登陆 */
+ (void)loginWithidentification:(NSString *)identification password:(NSString *)password Success:(void (^) (loginModel * model))success failure:(void(^)(NSError * error))failure;
/** 获取验证码 */
+ (void)getphoneCodeWithidentification:(NSString *)identification Success:(void (^) (SysModel * model))success failure:(void(^)(NSError * error))failure;
/** 注册 */
+ (void)registerWithidentification:(NSString *)identification password:(NSString *)password code:(NSString *)code Success:(void (^) (loginModel * model))success failure:(void(^)(NSError * error))failure;
@end
